package com.qqhf.hitfood.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "pos_city")
public class PosCity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 经度
     */
    @ApiModelProperty(value = "经度", position = 3)
    private String longitude;
    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度", position = 4)
    private String latitude;
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id", position = 1)
    private Integer id;
    /**
     * 分类号（首字母序号）
     */
    @ApiModelProperty(value = "分类号（首字母序号）", position = 5)
    private Integer initial;
    /**
     * 城市名
     */
    @ApiModelProperty(value = "城市名", position = 2)
    private String name;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", position = 6)
    private Timestamp createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", position = 7)
    private Timestamp modifyTime;
}
